/**
 * Created by seeker910 on 2014/8/28.
 */
Rsd.define('Rsd.hermit.pages.ProductListPage', {
    extend: 'Rsd.hermit.pages.ShopMaster',
    requires: [
        'Rsd.form.Link',
        'Rsd.form.Image',
        'Rsd.hermit.sections.TopInfoBarPart',
        'Rsd.hermit.sections.SlideImagePart',
        'Rsd.hermit.sections.ListGroupViewPart',
        'Rsd.hermit.sections.ImageNewsViewPart', 
        'Rsd.hermit.sections.CopyrightViewPart',
        'Rsd.hermit.sections.ProductItemViewPart',
        'Rsd.hermit.sections.SitePathPart',
        'Rsd.hermit.sections.SearchBarViewPart'
    ],
    xtype:'product-list-page', 
    title:'Product List',
    height:'100%',  
    content:[
        {
            xtype:'search-bar-view',
            margin:'50 0 0 0',
            header: false,
            height: 50,
            width:'60%'
        },
        {
            xtype:'list',
            width:'100%',
            height:'auto',
            width: '100%', 
            itemXtype:'product-item-view',
            itemStyle:{
                position:'relative',
                height:'450px',
                width:"25%"
            },
            layout:'hbox',
            dataSource:[
                {
                    label:false, 
                    height:400,
                    width:'95%',
                    dataSource:{
                        author:'Tomy',
                        time:'Sep 24,2025',
                        images:['http://gips3.baidu.com/it/u=3886271102,3123389489&fm=3028&app=3028&f=JPEG&fmt=auto?w=1280&h=960'],
                        title:'Fashions fade, style is eternal About Upto.'
                    }
                },
                {
                    label:false, 
                      height:400,
                    width:'95%',
                },
                {
                     label:false,
                     height:400,
                    width:'95%',
                },
                {
                     label:false,
                       height:400,
                    width:'95%',
                },
                {
                     label:false,
                       height:400,
                    width:'95%',
                },
                {
                     label:false,
                        height:400,
                    width:'95%',
                }
            ]
        }
    ],
    /**
     * 
     * @param {*} config 
     */
    constructor: function ShopPage(config) {
        config = config || {};
        Rsd.apply(this, config);
    },
    load:function load() {
        this.callParent();
        
    }
});
